package com.ghxxzx.dagl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

public class Hybz {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String uploadtime;
    private String uplodusername;
    private String uploduserid;
    private String bh;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String pzsj;
    private String pzdw;
//    @TableField(exist = false)
//    private MultipartFile multipartFile;
    public Hybz() {
    }

    public Hybz(Integer id, String name, String uploadtime, String uplodusername, String uploduserid, String bh, String pzsj, String pzdw) {
        this.id = id;
        this.name = name;
        this.uploadtime = uploadtime;
        this.uplodusername = uplodusername;
        this.uploduserid = uploduserid;
        this.bh = bh;
        this.pzsj = pzsj;
        this.pzdw = pzdw;
    }

//    public MultipartFile getMultipartFile() {
//        return multipartFile;
//    }
//
//    public void setMultipartFile(MultipartFile multipartFile) {
//        this.multipartFile = multipartFile;
//    }

    public String getBh() {
        return bh;
    }

    public void setBh(String bh) {
        this.bh = bh;
    }


    public String getPzdw() {
        return pzdw;
    }

    public void setPzdw(String pzdw) {
        this.pzdw = pzdw;
    }

    public String getUplodusername() {
        return uplodusername;
    }

    public void setUplodusername(String uplodusername) {
        this.uplodusername = uplodusername;
    }

    public String getUploduserid() {
        return uploduserid;
    }

    public void setUploduserid(String uploduserid) {
        this.uploduserid = uploduserid;
    }

    public String getUploadtime() {
        return uploadtime;
    }

    public void setUploadtime(String uploadtime) {
        this.uploadtime = uploadtime;
    }

    public String getPzsj() {
        return pzsj;
    }

    public void setPzsj(String pzsj) {
        this.pzsj = pzsj;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
